package com.bigzero.workflow.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bigzero.workflow.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统用户
 */
@Data
@TableName("sys_user")
public class UserEntity extends BaseEntity{

    /**部门id*/
    @Schema(description = "部门id", required = true)
    private String deptId;

    /**用户名*/
    @Schema(description = "用户名", required = true)
    private String username;

    /**账号*/
    @Schema(description = "账号", required = true)
    private String account;

    /**密码*/
    @Schema(description = "密码")
    private String password;

    /**邮箱*/
    @Schema(description = "邮箱", required = true)
    private String email;

    /**手机号*/
    @Schema(description = "手机号", required = true)
    private String mobile;

    /**是否是系统内置,1:是,0:否*/
    @Schema(description = "是否是系统内置,1:是,0:否", hidden = true)
    private Integer isSys;

}
